package cn.edu.bcu.ls.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.edu.bcu.ls.entity.Put;
import cn.edu.bcu.ls.mapper.PutMapper;
import cn.edu.bcu.ls.serviceImpl.PutService;

@Service
public class PutServiceImpl implements PutService{

    @Resource
    private PutMapper putMapper;

    @Override
    public int deleteByPrimaryKey(Integer wId,String uNumber) {
        return putMapper.deleteByPrimaryKey(wId,uNumber);
    }

    @Override
    public int insert(Put record) {
        return putMapper.insert(record);
    }

    @Override
    public int insertSelective(Put record) {
        return putMapper.insertSelective(record);
    }

    @Override
    public Put selectByPrimaryKey(Integer wId,String uNumber) {
        return putMapper.selectByPrimaryKey(wId,uNumber);
    }

    @Override
    public int updateByPrimaryKeySelective(Put record) {
        return putMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Put record) {
        return putMapper.updateByPrimaryKey(record);
    }

}
